package com.lecyon.farm.common.enums;

import lombok.Getter;

/**
 * 系统角色枚举类型
 *
 * @author Yao Zheng
 * @Date 2019/11/22 16:55
 */
public enum SysRoleEnum {

    MASTER("1", "systemMaster", "机构管理员"),
    ADMIN("2", "administrator", "合作社管理员"),
    USER("3", "user", "个人用户"),
    HOST("4", "user", "主机用户");

    @Getter
    private final String level;

    @Getter
    private final String name;

    @Getter
    private final String description;

    SysRoleEnum(String level, String name, String description) {
        this.level = level;
        this.name = name;
        this.description = description;
    }
}
